<template>
	<view class="cont">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>
<script>
	import {
		aboutUs,
	} from '@/api/product';
	export default {
		data() {
			return {
				content: ''
			}
		},
		onLoad() {
			this.getcontent()
		},
		methods: {
			async getcontent() {
				const res = await this.$http.get(`${aboutUs}`)
				this.content = res.data
			}
		}
	}
</script>
<style lang="scss" scoped>
	.cont {
		background: #fff;
		padding: 30upx;
		position: absolute;
		height: 100%;
		width: 100%;
	}

	.title {
		text-align: center;
		font-size: 36upx;
		margin: 30upx 0;
	}
</style>
